package com.back.service.inte;

import com.back.entity.Log;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LogService {

    void add(Log log);

    List<Log> query(int current, int pagesize);

    int totalnum();

    int getuid(String username, String url, String ip, String msg);
}
